package com.faf.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.faf.bean.Likes;

public interface LikesDao extends BaseDao
{
	List<Likes> getLikesListById(int userId) throws SQLException;
	long getLikeNumberByFoodId(int foodId) throws SQLException;
	void newLikeInsert(int userId, int foodId) throws SQLException;
	void newLikeDelete(int userId, int foodId) throws SQLException;
	boolean isUserLike(int userId, int foodId) throws SQLException;
	List<Likes> getLikesList() throws SQLException;
}
